Adding event handling bases and implementation.