Remove references to commit stuff from the model.
Remove more unused stuff.