Rename 'params' to 'data'