Nikolay Sivov : mf: Add support for source and output collections.