Cleaned up event subscriptions.