Added export support to the library.