Added definition to pull_event().