Now resource_base is correctly populated with layers.