Added a few more debug messages.