Tweak to requestmanager to make it more testable.