Made transformation visitor compatible with most recent changes to the functionality related to OO AST transformations