Added support for importing nested types
Changed how GeneratedMethod discovers its return type
Local variable declarations are complete.
Removed a redundant error message and improved the readability of
generated classes