Add some documentation for the templates and cursor.