support generic flat RPC entity.