{shrug}  It feels like a small amount of code that would add more clutter with #ifdef statements than just keeping it as-is?

#ifdef'ing would be implicit documentation that the item is really only useful for testing, but ... the NIF exposes only read-only behavior, so I don't believe there are safety reasons to keep it out of reach of regular users.