def extract_properties(pdict):
    """
    Remove _keys from property dictionary.

    Args:
        pdict (dict): raw dictionary

    Returns:
        dict: clean property dictionary

    """
    clean_dict = dict()
    for key, val in pdict.items():
        if key.startswith("_"):
            continue
        clean_dict[key] = val

    return clean_dict