Continue refactoring general methods into the Utils class.