Generator fix, added example on main, TODO file.