Added unsubscribe support to eventmanager