Added some logging for this.