A small utility for adding event binding to any object.