Removes some debug stuff.