Added an ensure array macro