The Structure of Heritage Languages