Updated template to use `generated` instead of `data`.