Adding generation to task snapshot output.