Fix #787: Add mechanism for propagation of DOM dependency

Or `else None`