Adds document rendering