When not to use generics