Fix type of array instantiation expressions.
Implement several term projections.
Fix crash in uriParentUntilNs.