[nr] Support forward/cyclic type references