xvents doc and fix for require path