Simple library for decorating a prototypical class with events