Prevent unnecessary recursive evaluation of _gen files
Added support for Futures, incl. tests.