Add type declarations