Unused code removal