adds spec for events, connection and open