Fixed typos and code formatting. Changed the retrieve docuemnt set method to call the default handler if there is no registered handler to reflect the changes made in the content handler.