Add trailing newline at the end of the file. Fix documentation.