Throw better error if pick() is called with an empty array
Add url(), closes #85