Allow directly passing a callable for Request::addDetector()