Add flexibility to typed join