Corrected and adapted the documentation.