Fix docstrings in template docs.