Delete search related functions