Fix autocomplete and autocorrect statements.