Adding support for inner anonymous classes

Closes #27 
Ugh. Not sure I like this API when I actually see it in practice...