Reflected the API change in risklib