looser types for fromUrl and parseHtml (fixes issue #17)