Remove a large subset of shadow classes and methods.