<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_object(self, obj, properties=()):
 """Add an object to the definition and add ``properties`` as related."""

        self._objects.add(obj)
        self._properties |= properties
        self._pairs.update((obj, p) for p in properties)