Some fixes and documentation updates.