Make tab-complete work with the new command system.