Add missing documentation and improve existing one.