Add type to debug output.