Added a handshake event for modifying capabilities.