Why not? It's dependency inversion.