Added functionality to specify the used cache manager