Revert "remove doctyoe"

This reverts commit 58dfe91731775126174e19a4d528f69446b05ee2.