Documentation and tweaks.