Fix issue with manual generation.