I wonder if this is a protection we need to have. This is complicating the code a lot and I'm not sure if the benefits are worth it. What lead you to add this protection?