Some improvements to our logging and docs.