Readded bernoulli submodule with correct protocol.