AST based completion doesn't work in certain cases.