Add example of defining a parameterized class (pair).