Finish migration of the commands system