ont sure about the `__Native` of hack here, but also `function` should be handled case-insentive here?