Does this raise an exception? If not, I think it should just be `generate`