Added options object to pass url to constructor + fixed a typo.