Re-enabled optimization in DOM code.