Removed direct typing in ast.