Fixed error when instantiating without base URL.
Merge pull request #2 from jezdez/patch-1

Fixed error when instantiating without base URL.