Adapter pattern.