Added template documentation comments.