Extract several methods to utility class