Match interfaces different classes