Added support for domainDestroy