add docgen support for various arrays