Fix up the baseUrl property and add some comments for future reference.