Do not define index in generator.