Removes the need for extra assertions which makes the code more readable, and reduces the overhead of an is_array check.