Added support for referer library (#16)