Minor modification to lab-dom