Added setAttribute() to Profile.