Remove reverse dependencies on unsafe package classes.