rpc methods in extra file