new feature - added support of namespaces to template code