extract_objects()
Custom targets or generated files (returned by generator.process()) can now be passed to extract_objects().
generator.process()