Improved Utils class.