Add support for best fit curves