Add support for annotations that contain an array of sub-annotations.