adds remove index capability.