Rename resources and elements parameters for ri wrapper.