Replace the parameters type with a simple map