Improved SubnodesAttribute (from simple-plugin)