Added example in the docs on how to fill a generic collection