Make ArrayWithList static

This was an instance method when it should have been static.