Support for the join function.