Fix for #106 The locator types are now optional in object definitions