Extract search classes for clarity.