Reflected the API changes in risklib