`credentialBlock` needs to be copied here.