Remove everything unnecessary.