Decent candidate for `utils.py`.