A simple event repository. (bugged)