Update UseMiddleware dependencies.
Use AutoServices base class