Define adapter interfaces.