Revert "Convert call to array_helpers to static calls"

This reverts commit 131d70de8ea7c46f8fef068ad03cf35cce148688.