Added reload function, and events.