Make element and text nodes mutable