Inline more simple methods.
Discard VarDefs that are not actually used.
Discard side-effect-free LoadModules if not used.