docs for Template