Add support for type: array