Added events as a dependency.