Removed exit() calll from DOMShape.