Fixed add_details so that only predeteremined attributes can be added to profile objects