Add proof. Also minor fixes.