This will let us unit test the commands.
Created attachment 43623 [details] Patch
Comment on attachment 43623 [details] Patch LGTM.
Committed r51263: <http://trac.webkit.org/changeset/51263>