Might be about time to start a `utils.py` in this module. I'm not saying we have to do it now, but something to think about.