Type soundness for modules finished