add generic class type