Do you really want to add another runtime dependency, even though these classes are not needed at runtime. We could make them optional, but that sends imo the wrong message. However, given Maven and its limitations to dependencies scoping that's probably the best approach. Or we just stick with the deprecations. The problem on how to add this dependency is why I never added it so far.