Fixed collection usage examples.
Merge pull request #1053 from ADmad/3.0-collection

Fixed collection usage examples.