I also wondered if it was worth making this a class which could be used site-wide, like the scale comment here:
https://github.com/Precise-Pixels/cell/pull/38#commitcomment-5491690