CacheManager fix declartion for  and added class for setGatherer method