Set Cache::getLibray() to static