Reworked 'array' module