Add getParent() to ElementInterface to avoid depending on a concretion.