Make it possible to nest classes more neatly
Make beginClass/endClass support nested classes
Merge pull request #36 from krisr/kris-subclass

Make beginClass/endClass work in nested classes