Removing references to URL objects. Fixes #219. @jungkee - you may want to review this.