InfiniteContainer: Allow Container constructor to be swappable. Fixes #27