Set the __annotations__ on functions.