Add lightcurves PR functions.