More debug functionality.