Adding function generator plugin