Removed global baseUrl variable.