Added middleware classes to default settings