Moving a class method to an instance method.