Endoplasmic reticulum thioredoxin superfamily function