Added generator functionality to controller