Add cleanup endpoint.