Add support for subcommands.