Remove dead methods.