Remove unnecessary stuff.