Replaced HTML links with link helper functions.