Is this ok? For a framework class to depend on impl?