Make events Serializable
Fix indentation
Make SentryInterface Serializable
Remove call to deprecated methods