Refactored for cleanliness.
docs.
Implemented adapter-wide teardown logic.
Cleanup.