Made the params argument default to an empty array