More debugging logic.