Added collect. Documentation for collect still missing.