Adg_?Dim: allow-none for AdgPair and named pairs