Add sample generics_methods