Making use of the new DOM constructor.