Added utility functionality for generation of records using abstract syntax of the OO AST