Aren't we duplicating this by passing baseURL through the metadata? Maybe it is just a naming issue?