Adding support for inner anonymous classes

Closes #27