Add flatten() and unique()