Moved some RPC methods to base library.