[locator] avoid direct usage of RS classes