Added typing rules for array creation.