Added a preliminary fit wrapper.