Added a detection of changed userdata