Fixed 'diff'/'dump' for 'profile' and 'rates'.