Add support for default custom search function