The CommandMetadata struct defined in event is a public type along with all of the different event structs, but is only used by connection.go and should not be user-facing.