Implement cosmic.Link type, use it for 'self' links