associated variables which were only compiled in on debug build. These optional methods/static vars were causingproblems when mixing debug and release builds.
via a seperate delete handler. Useful for making unref()/ref() thread safe if the users needs to address this issue.