Made function type sane for end user in performSearch parameters