Add debugging log statements.