more extensive generics for random forests