support overrides for insertBefore, removeChild, replaceChild