Added example for generics support