Added demo to demonstrate Generic types.