Check fit() API
Merge pull request #319 from rmcgibbo/check-fit-api

Check fit() API