@staticmethod
def _truncate_name(string, max_len=20):
    """Truncates string to max_len number of characters, adds ellipses instead if its too long"""
    if len(string) > max_len:
        return string[:max_len - 3] + '...'
    else:
        return string
