Added emiting onParse event