\begin{sequencediagram}
  \newthread{t}{:Thread}
  \newinst[1]{i}{:Instance}

  \begin{messcall}{t}{function()}{i}
  \end{messcall}
\end{sequencediagram}
