Addition of the Cache + registration of methods to add and delete elements in cache