Replace obsolete members

Replace obsolete members and add messages for obsolete members