Adding entity fields rpc api