Documentation: filled the last few gaps and cleaned a few things up.