Default attributes to an empty array, to avoid issues passing null