Allow specification of custom row class for a model