Assert on eunknown middleware.