This pattern happens in a few places, would it be worthwhile having a method for this on the dispatcher?