Adding more typeAnnotation support - this time for function declarations