Added cancel endpoint.