Added utility function for generating common links.