In vesicles encapsulating a hammerhead ribozyme, the addition of external Mg2+ led to the activation and self-cleavage of the ribozyme molecules.