Make url stream handler optional.