Add support for `version` command.