support for docs of array elements