Document index library wrapper. (Under construction 2013-08-21)