Make object_ids maps global by default, fixes #691.