<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _dotify(cls, data):
 """Add dots."""

    return ''.join(char if char in cls.PRINTABLE_DATA else '.' for char in data)