RPC wrappers for database methods.