Allow setting allowCrossDomain.