Refactoring appbase controller: introduce RpcMethodStubHelper