Add some developer logging for debugging.