Fixes in inline docs and removal of unnecessary EOFs.