Add support for a few limited commands to be used in interactive mode.