Add debugging statements.

Addresses #203.