Work around deprecated "restart" method.