Add TempDocument entity for the later usage