def remove_whitespace_chars(text):
    """
    Remove unnecessary (trailing, double, etc.) whitespace characters from a piece of text.
    
    :param text: A piece of text.
    
    :return Text without unnecessary whitespace.
    """
    return " ".join(text.split())