Refactor Go's array loader.