Use AST instead of Any.