Container can be passed a capacity when created.