Change search_type to be a chainable method