Reduce unnecessary array initializations