Inline verify_worker_configuration/5 since it mutually recurses which is not exactly obvious from the name.