Corrected methods in example template.