Caches libray not hard coded any more.