Added some comments to better suggest some rationale for some errors.