Clean up shadow inheritance and shadow method locations.