Consistent definition of class methods