Support for adding some elements to the DOM