Add adapter pattern.
Add adapter pattern.