Safe preambles and epilogues