Support for typeahed templates. Option to set max number of tags.