Cycle generation.
Added TODOs