Added autocomplete views and variable to controller and model.