Support brackets without indexes.

Some of the resource files still use them, so we'll support them for
the time being. In the future this could be removed to simplify the
code slightly.