Documentation, example template file, a few corrections.