For this one, I strongly prefer it in it's own class or module. It better indicates the purpose for these methods.