Future<dynamic> send(String method, [dynamic params]) async { return (await promiseToFuture<dynamic>(impl.send(method, params))).result; }