Missing middleware handling and ordering.