Updated the loader and commit models