Remove a lot of unnecessary things.