Adding in search form basics, some utility functions.