Add events as a dependency