I\'m using a third party library that requires a pair of formatting functions to be held inside an object which is then passed around. The problem is that with the current way t