This ensures that we can properly track and catch allocation slippages that could otherwise have been missed. Fixes #2748