Adds spec for events