widened scope of rpc so classes extending cleengapi can set it