Disables xref (not working on osx) and fixes a typo.
Adds module headers and comments.