This is a utility that I wish users didn't have to write themselves. Something to think about for future iterations I think.