Make base url optional.