`LatexCmds.vec` and `LatexCmds['vec']` do the same thing, you may as well just do
```js
var Vec = LatexCmds.vec = P(MathCommand, function(_, _super) {
```