Add code field; add fail view.