Added terminated option.