Add repair api to accessor.