Add the KMemCacher class.