Adding support for inner anonymous classes

Closes #27 
Yea, good call. The proper thing to do here would probably be to make TypeWriter write Types instead of write ClassTypes.