DOC: Comment all files with logic descriptions.