Merge "Add documentation about threading."