Added index for contracts.