I think the import is necessary, but it's accessing internal exports from the class system so it's an abstraction violation.