use MiddlewareNotUsed to unregister when disabled
Merge pull request #6 from jarcoal/master

MiddlewareNotUsed