docs: function(attr) {
        return _.reduce(attr.match(/\[.+?\]/g), function(result, arrayNotation) {
          var token = arrayNotation.substring(1, arrayNotation.length - 1);
          if (!isNaN(token)) {
            result.push(parseInt(token, 10));
          } else {
            result.push(token);
          }
          return result;
        }, []);
      }