Add new cache helper class. #1341