Use generic for list objects