Remove "all" middleware hook

The "all" middleware hook made implementation more complicated and brittle than it needed to be.