remove unused auto generated method