Allow customizing base uri