Rearrange middleware for clarity