Add hub function for autocomplete