Replaced arrays for class methods