Remove var args in favor of array syntax. Resolves #3422