Removed redundant class members, added --replace option

--replace NOT supported yet.