Added a common event handler assignment function, that is supposed to work for any of the Semilla custom classes.