Adds support for SelectMany.