Optimize the given code for better performance. Highlight any changes made and the reasoning behind them.
Get notified about new generators and prompts.