Improved template docs.