Made metadata nodes indexable; added some comments.