Set arrays attributes as required