Add extra RPC functions