Add two adapter interfaces and an implementation.
Update example.