Add optional keys argument to join.
Merge branch 'add-keys-to-join'