Add support for integer attributes in getArray() / setArray()