[BUGFIX] Prevent fatal error in stdWrap when compatibility6 is not loaded