Removed a stray reference to lightcurve.