This helper isn't being used as a template helper any longer, maybe it should be moved into this utils file as a util method instead.