Added class adapter pattern example.