Another pass at basic documentation for the library functions