WIP NEXUS-6027: Remove deprecated classes

Revival of the branch plus some more.

Issue
https://issues.sonatype.org/browse/NEXUS-6027

CI
TBD