Move another utility method to Utils