Finished documenting the link module and fixed some inconsistencies; some minor fixes to c module docs.