Remove the redundant in_ex_mode flag.
Add the ability to register new ex commands.