Javadoc added to addLibrary method