#177 deprecate warning for template handling
Merge pull request #257 from hhagmans/remove_depracate_warning

#177 deprecate warning for template handling