Maybe move this to the top of the method, as we tend to do for arg validation?