Remove settings and some other stuff.