v2.0.x: refactor util/Cookit