Added some rough-cut debugging.