I was reading the data sheet for 1N4007 (http://www.diodes.com/datasheets/ds28002.pdf) and I noticed that the values for the currents (peak forward surge and reverse) are given for resistive and inductive loads only. For capacitive loads, they require a 20% derating. What is the reason for this? Does it have something to do with the p-n junction? I thought that the diode currents are purely a function of the applied voltage and their extremal values should not depend on the connected load. What's missing here?