Added in some debugging.