def _unembed(tree_list):
    """Unembeds (or deletes) extra spaces at the end of the strings."""
    unembedded = []
    for line in tree_list:
        unembedded.append(line.rstrip())
    return unembedded