Adding a few debug logs.