Added template chapter to doc