Reduced duplication in ThinkingSphinx::Middlewares