make set_xxx method obsolete. use xxx as setter instead.