Many of this play's improbabilities come from Shakespeare's use of the conventions of the romantic genre, which we have already seen well illustrated in an early play, The Comedy of Errors, in which a shipwreck sunders a family that is then humorously and coincidentally reunited by the end of the play.