Added autocomplete to segments.