reorganize doc hover and document type params