Updated the atom_add() method to handle multiple models.
Authored by: bugman 2008-05-20
Parent: [r6167]
Child: [r6169]