generic type for class info