Be paranoid about double release.
Add IndexReader reference counting methods to forbidden APIs.