Add baseUrl support.