Refactoring to make credit curve config access faster using version correction hack.