Added missing type declarations.