Link functions used in the example.