Use columns_for_distinct only when this method exists