rename Document -> document