Use getAttribute() and setAttribute() so accessors and mutators are called.