Add template_engine method. Improve docs