The Adapter design pattern provides a solution:
Define a separate Adapter class that converts the interface of a class (Adaptee)
into another interface (Target) clients require.
Work through an Adapter to work with classes that have not the required interface.
Describing the Adapter in more detail is the theme of the following sections.
See Applicability section for all problems Adapter can solve.