Adding both a class and instance method