Added heap factories to be used for AST construction.