Added subdomain matching capability.