Ah, bummer. I took it out of a function because the overloaded function https://github.com/guardian/frontend/blob/886d2cdb93f40d90da32704cd65e6421962890af/common/app/common/package.scala#L74 was failing due to the return type of the function argument being erased