Added support for an Index contract.