Added ToString override for ResourceLocator