Adding JSONRPC method registrations