Finish RPC model gen