Add the state of the library.