Fix errors in examples provided in the documentation (value parameter)