Fixed deleting templates.
Merge branch 'experimental' of github.com:project-nms/nms_code into experimental