Add some debug support.