Adding debug logs.