Should it extend `numberOfShards` and `numberOfReplicas` instead?