First steps towards FJC support. New variable fit_function for flexible switching...