Use the C++ classes instead.
Created attachment 164150 [details] Patch
Comment on attachment 164150 [details] Patch Looks good to me
Committed r131742: <http://trac.webkit.org/changeset/131742>