Adding typeAnnotation support to function parameters