Remove unnecessary things.