support for expanding urls