Fix a typo in the contents constraints creation.
Fix a small docstring bug.