Simplified class method implementation

https://github.com/kfgodel/diamond/issues/58