Sync events for realtime events

This PR addresses the issue of firing sync events appropriately for realtime events. #95