Make the constructor set the protocol