When using a loaf pan, I find that the meat stays moister and the glaze doesn't bubble over. You could, however, line a baking sheet with aluminum foil instead but that's not what I recommend doing.