AST: Remove duplicate class Def definition