Added support for heterogenous metadata on the aiNodes.