Implement the Adapter DP with composition.