Late in the development of a project, you find that two teams who have been working independently on two parts of an application have implemented incompatible classes. The interface of several classes implemented by one team is slightly different from the interface the other team is expecting to use. Explain how the Adapter pattern might help in this situation by avoiding the need to rewrite any of the existing classes.