Debugging messages added.