Fixes #14: Implement system of make document index, or write.