Initialization of the library.