Some documentation and minor tweaks.