Replaced deprecated utility class.