Adapter design pattern added.