Fixed middleware pattern.