rename protocols and platforms to -type variant for clarity