Fixed documentation writing