Made handle instances an entirely debug-mode-only feature so they don't waste space in release mode, where they are never tested.