Okay, I did have a quick look, but let me dig deeper. Otherwise I'll move it into `utils`.