Implement #4008 (Add option to reload functions but not constants)