Updates some docs and fixes build.