Added extra parameter for autocomplete object for a delegate method that configures cells.
Fixed some bugs, did some refactoring.