Cleans up some things.