Add referrer support