Add missing type declarations.