fix generics documentation warnings