Finally handling errors (though in a not so elegant way)
Document editing