Fix RequestParams type declaration