There were `message.delivery is not defined` errors being logged, as a result of the `switch (...)`.