Adds protocol for communication