SSIM docos and general cleanup.