Do we want to add links if there are none? Presumably there will always be at least metadata links, but seems for completeness this should check.