Encapsulate utility methods in a separate class.