Add the join type