CallingCodes: Added check for undef