I think this function was used nowhere.