* Fixed events being registered twice.