Fixed inconsistencies in the doc