Changed generateEntityStubMethod so that variable names in add or remove functions are singular too