Generics in deciders