Fixed error when instantiating without base URL.