Fix model loading where no object names are used.