For this one, remove the outer curly braces, and maybe rename workerWebUiPort to just workerUiPort

```scala
case RegisterWorker(id, workerHost, workerPort, cores, memory, workerUiPort, publicAddress) =>
```