General improvements, edit Document Types