Added debugging.