Fixed bug where array methods would not initialize properly until first write