worker: handle require method for typelib over dbus.
worker: add GetMethods to typelib service.