Made the type part of the exported method decl so that different interfaces can have clashing methods. This is a precursor to generating the wiring from webdriver to gwt.
Generator-based approach to handle export method registration, papering over the arguments object, and leaving room for sending primitives over the wire later