Renamed first argument of class method to cls