Made it possible to clear adapters.
Merge pull request #7 from michaelmoussa/master

Made it possible to clear adapters.