Doc types and Doc, need work on pdf embed