template docs, benchmarks, fixes and improvements