Create MyContainer before making new objects of it.