Change lists to use any kind of type inside it