added documentation for Lua provider.document(..) method