Added capacity parameters to collections.