[mod] Changed AutoComplete to an interface for code consolidation.