changed constructor such that it is only deprecated for AST nodes and not for analysis code