Allow protocol to be set