removing class parameter from RType