Rename join to flatten.