Refactors to share identical search styles