Cleans up some uglies.