Fix infinite loop bug in AST Manager
Support custom autocomplete suggestions