This doesn't feel to be the right place to me. Its a utility method but it is on the main entry point. 

I can see how it needs to be available to a number of classes. Should it be a mix-in to the three classes - perhaps from a supporting class/module?