Added check for duplicate urls.  Closes #19.