Decouple joining from joinWhere.