Adds library.