Support for almost array types, need to be tested more precisely