Adds libraries to chapters