Adding a getProtocolNames method