ClassMiddleware added