Make it possible to use generators as data providers