better generics for ListResource