Add documentation to the template define