Remove dead code from ctl