Atom cleanup.