Added support for v2 content api. Further work on event-edit.