Fix errors spotted bu RubyMine.
Add an example on how to define class methods.