Rename "type" to the "protocol".