I did it this way just incase the call to `settings.middleware` returns a single item instead of a list, but I'm fine with either way