Added support for an Index contract key.