Updated adapter pattern implementation.
Added automatic registration of composed adapter implementation to the host initialization.