Better handling of applicationDomain property