Remove useless methods in autocomplete module