AST: Factor unneeded redefinitions. Group node interfaces.