many cleanups around the new curves feature.