Adds example usage of generics