Bug in inline collections definitions

Now it takes url from the model automatically.