Add proper rendering of document title