Smart pointer class `Ref` with const propagation
Minor