Removing explicit casts from req.app.settings.providers and using a function. Switching from Mocha (which was mostly unused) to Jest. Moving around type definitions and interfaces in a big way to try and cleanup some legacy.