Support `define-namespace-anchor` in TR