Looks like I was revisiting the same method twice.

source.getAST() appears to return a AST tree of a script before
it gets neatly transformed into a class definition.

This fixes issue #14.