Allow configurable skipping of the dangling object check