Made class methods inheritable.
Use modern syntax.
Merge pull request #33 from gini/small_cleanups

Small cleanups