Adjusting credits dependency to latest API changes.