Issue 90: Fixed deprecation warning
Merge pull request #90 from Element84/TemplateDeprecationWarning

Deprecation warning in template