Allow directly passing a callable for Request::addDetector()
Fix typo
Merge pull request #3057 from ADmad/3.0-request-detector

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