Adding more debug outputs.