Some of the methods can be declared on the profile header instead of profile type which would simplify the code.
Created attachment 142696 [details] Patch
Comment on attachment 142696 [details] Patch lgtm
Committed r117581: <http://trac.webkit.org/changeset/117581>