Fix docstring.
Fix another docstring.
Make the documentation generator function work with the new system.