Adding Attribute To An Object In Python