Rename type to r(equest)type