Require type declarations for parameters or default to string