Adjusted to framework's event name change.