Fix missing declaration and typox