Converted AST transformation namedtuples to real classes (refs #1)