adds support for getting the index of the flyweight