we should probably either change the arg type or do an instanceof check

however, we might want to reconsider whether there is any real value in having a Container interface (could probably just make DefaultContainer->Container and no interface).