I actually had this as a separate object like you suggested and then refactored into this static method. I will go ahead and update this.