Renamed workerRegistry to schedulerRegistry.