These are wrapped in #ifdef DEBUG because they probably won't be used (and shouldn't contribute to compile time) in normal operations.