Added callback logic to InternalIndexShard#create