Remove duplication in declaration node class declarations