Added some debugging info calls.