If you use Container<?> you get rid of your warnings