Added utility functions for Link type