[minor] Added `Transfomer.forEach` for iterating over the middleware.