Added in some debug.