Add a couple of helpers for adding a reference and reference label.