Infrastructure to execute RPC calls