Updated the documentation and examples for the new object_mask behavior