filter Abstract Class from codegen.