Fix and complete documentation.