Cleaning up the DockerCommands type.