Collection `map` and `filter` both return new `Collection` instances now. Closes #1125.