lib/templates: typos on docs
lib/templates: edit method created