Remove dependency on Detail component.