Moved typeahead into vendor. Casting the cache configuration to an integer.