Simplify lazy.dom and lazy.node logic for simpler extensibility