For consistency and to catch errors with GObject types.
Created attachment 178431 [details] Patch
Committed r137093: <http://trac.webkit.org/changeset/137093>