Add a params struct