Add a few debug helpers.