def clean_shape(shape):
    """ Standardizes the shape.
    """

    # Standardize shapes to lower case, merge the obvious ones.
    new_shape = shape.lower() if shape else None
    if new_shape == "triangular":
        new_shape = "triangle"
    if new_shape == "changed":
        new_shape = "changing"

    return new_shape