In the last example 'url' has to be 'ref'