Added ability to register multiple callbacks for the same event.