Converted the mod_attr object into a class variable.
Authored by: bugman 2008-06-22
Parent: [r6392]
Child: [r6394]