Added support for library.