Debugging helpers.