Also move this block into a new method.