Add documentation for code documented from tools.rst