Made OO AST independent of type lookup