Fixed use of baseUrl option.