Added possibility to choose between different array types (for 1.4.0).