Add getType method to retrieve type info for locator in Reader