added ObjC bridge for registering for notifications