Add comments of Document.java
Fix warning of generic without specified type
Suppress warning serial