Add adapter design pattern.