implement typed links; add tagged_is_strict config option