Added more helper methods to ResourceUtilities.