Added some helpful console logs.