MiddlewarePatterns: Initial checkin.