Make class method from instance method
Ditto
Added print method.
Merge branch 'Refactor'