Will move this one to a helper, possibly in `utils`.