Rename the method of Generater to Generate , see RecordGenerater->Generate