A simple way to bind events to objects and keep context