Created functionality for adding new protocols.