replaceElem and setElemContent are removed