Fix autocomplete and form_alter.