Make ResourceUtil easier to use