Added CharCache class.