separating list of defs to generate from list of all defs needed for generation