Move an enum outside the debug def so it can be picked up in release build.