Add mmap classes for library.