Experimental features. Working on detecting events script-side.