Some clean-up and stuff.