extend useddefineddeclared trait to support pointers in definitions also