Replace code removed for debug.