External RPC calls for erlang