Could be made into a static method inside a static utility class...