More work on pulling BSDF's out of the integrator.