Fix some incorrect calls to locators.