Added context on parsed root.
Added event bindings.