Added AppDomainGetCurrentDomain() import.