Adds spec for extra keys on notifications and messages