Merged a number of small PRs and updated the pdfs.