Minor: `dict((sym, i) for i, sym in enumerate(self._symbols))`