Remove type checking in ASTNode Constructor