Sam as above for this utility class.  All of it should be a private API.