A modified (more generic) version of the Comand type from the Go source.