ENH: uglify templates.
Fix #4: Can't create node under the root path.