Breaking out referer check.